# _*_ coding : utf-8 _*_
# @Time : 2024-05-29 10:05
# @Author : haowen
# @File : 2.灰度转换
# @Project : face identifying
import cv2 as cv

img = cv.imread("image/1.JPG")

gray_image = cv.cvtColor(img,cv.COLOR_BGR2RGB)

cv.imshow("gray_image",gray_image)

cv.imshow("read_image",img)

cv.waitKey(0)

cv.destroyAllWindows()